package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    //添加套餐
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);
    //获取所有的套餐信息
    List<Setmeal> findAll();
    //根据id 查询套餐信息
    Setmeal findById(Integer id);

    List<Map<String, Object>> findSetmealCount();

}
